package com.mycom.service.impl;

import com.mycom.dao.WorkTypeDao;
import com.mycom.pojo.WorkType;
import com.mycom.service.WorkTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class WorkTypeServiceImpl implements WorkTypeService {
    @Autowired
    private WorkTypeDao workTypeDao;

    @Override
    public List<WorkType> findAll() {
        return workTypeDao.findAll();
    }
}
